home *** CD-ROM | disk | FTP | other *** search
-
-
-
- PPPPRRRROOOOTTTTOOOO((((4444)))) PPPPRRRROOOOTTTTOOOO((((4444))))
-
-
-
- NNNNAAAAMMMMEEEE
- proto - prototype job file for at
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- ////uuuussssrrrr////lllliiiibbbb////ccccrrrroooonnnn////....pppprrrroooottttoooo
-
- ////uuuussssrrrr////lllliiiibbbb////ccccrrrroooonnnn////....pppprrrroooottttoooo...._q_u_e_u_e
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- When a job is submitted to _a_t(1) or _b_a_t_c_h(1), the job is constructed as a
- shell script. First, a prologue is constructed, consisting of:
-
- +o A header whether the job is an _a_t job or a _b_a_t_c_h job (actually, _a_t
- jobs submitted to all queues other than queue aaaa, not just to the batch
- queue bbbb, are listed as _b_a_t_c_h jobs); the header will be
-
- :::: aaaatttt jjjjoooobbbb
-
- for an _a_t job, and
-
- :::: bbbbaaaattttcccchhhh jjjjoooobbbb
-
- for a _b_a_t_c_h job.
-
- +o A set of Bourne shell commands to make the environment (see
- _e_n_v_i_r_o_n(5)) for the _a_t job the same as the current environment;
-
- +o A command to run the user's shell (as specified by the SHELL
- environment variable) with the rest of the job file as input.
-
- _A_t then reads a "prototype file," and constructs the rest of the job file
- from it.
-
- Text from the prototype file is copied to the job file, except for
- special "variables" that are replaced by other text:
-
- $$$$dddd is replaced by the current working directory
- $$$$llll is replaced by the current file size limit (see _u_l_i_m_i_t(2))
- $$$$mmmm is replaced by the current umask (see _u_m_a_s_k(2))
- $$$$tttt is replaced by the time at which the job should be run,
- expressed as seconds since January 1, 1970, 00:00 Greenwich
- Mean Time, preceded by a colon
- $$$$<<<< is replaced by text read by _a_t from the standard input (that
- is, the commands provided to _a_t to be run in the job)
-
- If the job is submitted in queue _q_u_e_u_e, _a_t uses the file
- ////uuuussssrrrr////lllliiiibbbb////ccccrrrroooonnnn////....pppprrrroooottttoooo...._q_u_e_u_e as the prototype file if it exists, otherwise
- it will use the file ////uuuussssrrrr////lllliiiibbbb////ccccrrrroooonnnn////....pppprrrroooottttoooo.
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- PPPPRRRROOOOTTTTOOOO((((4444)))) PPPPRRRROOOOTTTTOOOO((((4444))))
-
-
-
- EXAMPLES
- The standard ....pppprrrroooottttoooo file supplied is:
-
- ####iiiiddddeeeennnntttt """"@@@@((((####))))aaaaddddmmmm::::....pppprrrroooottttoooo 1111....2222""""
- ccccdddd $$$$dddd
- uuuulllliiiimmmmiiiitttt $$$$llll
- uuuummmmaaaasssskkkk $$$$mmmm
- $$$$<<<<
-
- which causes commands to change the current directory in the job to the
- current directory at the time _a_t was run, to change the file size limit
- in the job to the file size limit at the time _a_t was run, and to change
- the umask in the job to the umask at the time _a_t was run, to be inserted
- before the commands in the job.
-
- FFFFIIIILLLLEEEESSSS
- ////uuuussssrrrr////lllliiiibbbb////ccccrrrroooonnnn////....pppprrrroooottttoooo
- ////uuuussssrrrr////lllliiiibbbb////ccccrrrroooonnnn////....pppprrrroooottttoooo...._q_u_e_u_e
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- _a_t(1)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-